package question4;

import question4.Expression;


public abstract class Binaire extends Expression{
  protected Expression expression1;
  protected Expression expression2;
  
  public Binaire(Expression expression1, Expression expression2){
    this.setExpression1(expression1);
    this.setExpression2(expression2);
  }
  
  public abstract <T> T accepter(Visiteur<T> v);
  
	public Expression getExpression1() {
		return expression1;
	}

	public void setExpression1(Expression expression1) {
		this.expression1 = expression1;
	}

	public Expression getExpression2() {
		return expression2;
	}

	public void setExpression2(Expression expression2) {
		this.expression2 = expression2;
	}
}